﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShanNiang.Hosting.Enumerate
{
    /// <summary>
    /// 全局错误码
    /// </summary>
    public enum GlobalErrorCode
    {
        /// <summary>
        /// 没有响应内容
        /// </summary>
        [Description("没有响应内容")]
        NoResponse=100,
        /// <summary>
        /// 成功
        /// </summary>
        [Description("成功")]
        Ok =200,
        /// <summary>
        /// 错误的请求，包括参数错误
        /// </summary>
        [Description("错误的请求")]
        BadRequest = 400,
        /// <summary>
        /// 找不到数据
        /// </summary>

        [Description("找不到数据")]
        NotFound =404,

        #region 账号绑定
        /// <summary>
        /// 账号未绑定当前的第三方登录方式
        /// </summary>
        [Description("账号未绑定当前的第三方登录方式")]
        AccountUnBinding = 40304
        #endregion
    }
}
